<?php 
include("db.php");
require("Database.singleton.php");

$text=$_POST["editarea"];

$db = Database::obtain(DBADDR, DBUSER, DBPWD, DBNAME);
$db->connect();
if(get_magic_quotes_runtime()==0) {
	$text = stripslashes($text);
}
$data["infor"] = $text;


$db->update("website", $data);
$db->close();

header("Location:editkac.php?succ=1");
?>